package com.lebang.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;
import lombok.Data;

/**
 * cences_outlay
 * @author 
 */
@Data
@ApiModel("")
public class CencesOutlay implements Serializable {
    /**
     * id
     */
    @ApiModelProperty("id")
    private Integer id;

    /**
     * 创建时间
     */
    @ApiModelProperty("创建时间")
    private LocalDate createTime;

    /**
     * 记录日期
     */
    @ApiModelProperty("记录日期")
    private Integer time;

    /**
     * 安装渠道
     */
    @ApiModelProperty("安装渠道")
    private String brand;

    /**
     * 1新用户0老用户
     */
    @ApiModelProperty("1新用户0老用户")
    private Integer category;

    /**
     * 1总计0分渠道
     */
    @ApiModelProperty("1总计0分渠道")
    private Integer type;

    /**
     * 新手任务
     */
    @ApiModelProperty("新手任务")
    private BigDecimal newhandMoney;

    /**
     * 自营任务
     */
    @ApiModelProperty("自营任务")
    private BigDecimal recordMoney;

    /**
     * cplsdk
     */
    @ApiModelProperty("cplsdk")
    private BigDecimal sdkMoney;

    /**
     * 每日必赚
     */
    @ApiModelProperty("每日必赚")
    private BigDecimal earnMoney;

    /**
     * 每日必赚签到
     */
    @ApiModelProperty("每日必赚签到")
    private BigDecimal earnClcikMoney;

    /**
     * 师徒
     */
    @ApiModelProperty("师徒")
    private BigDecimal masterMoney;

    /**
     * 转盘
     */
    @ApiModelProperty("转盘")
    private BigDecimal luckdawMoney;

    /**
     * 视频
     */
    @ApiModelProperty("视频")
    private BigDecimal videoMoney;

    private BigDecimal xianwanMoney;

    private BigDecimal taojinMoney;

    private BigDecimal juxiangwanMoney;

    private BigDecimal duoyouMoney;

    private BigDecimal aotianMoney;

    private BigDecimal pceggMoney;

    /**
     * 鱼玩盒子
     */
    @ApiModelProperty("鱼玩盒子")
    private BigDecimal ywhzMoney;

    /**
     * 应用id
     */
    @ApiModelProperty("应用id")
    private Integer appId;

    private static final long serialVersionUID = 1L;
    public CencesOutlay(){

    }
    public CencesOutlay(int i, String appStore, int time, int category, int type,Integer appId) {
        BigDecimal o = new BigDecimal(i);
        this.newhandMoney = o;
        this.recordMoney = o;
        this.sdkMoney = o;
        this.earnMoney = o;
        this.earnClcikMoney = o;
        this.masterMoney = o;
        this.luckdawMoney = o;
        this.videoMoney = o;
        this.brand = appStore;
        this.time = time;
        this.category = category;
        this.type = type;
        this.createTime = LocalDate.now();
        this.xianwanMoney = o;
        this.taojinMoney = o;
        this.juxiangwanMoney = o;
        this.duoyouMoney = o;
        this.aotianMoney = o;
        this.pceggMoney = o;
        this.ywhzMoney = o;
        this.appId=appId;
    }
}